package com.zy.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ClassName: ConsumerFeignHystrixServer80Run
 * @Description: 消费者- 整合 eureka + feign + hystrix
 * @Author: yanzy
 * @Date: 2021/3/3 22:12
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
@EnableHystrix
public class ConsumerFeignHystrixServer80Run {

    public static void main(String[] args) {

        SpringApplication.run(ConsumerFeignHystrixServer80Run.class, args);
    }
}
